FIFO with Offsets: High Schedulability with Low Overheads
نویسندگان
چکیده
The OS scheduler’s memory and runtime overheads form crucial design constraints for embedded systems implemented on low-cost hardware platforms. Table-driven scheduling can provide a high level of schedulability; however, it also consumes significant amounts of memory. By contrast, effective non-preemptive scheduling policies, such as the non-workconserving Critical-Window EDF (CW-EDF), have low memory usage, but substantial runtime overheads. This paper aims to achieve efficient and effective non-preemptive scheduling by using a First-In-First-Out (FIFO) scheduling policy combined with a novel offset tuning technique. This technique enables the FIFO policy to reproduce a given feasible schedule, such as that followed by CW-EDF, resulting in a high level of schedulability, combined with comparatively low runtime overheads. Further, by using a small number of offsets per task, memory overheads are also tightly constrained. The proposed solution is evaluated in terms of runtime overhead, memory consumption, and schedulability ratio, using a prototype implementation on an Arduino board. This shows that FIFO with offset tuning can match the schedulability ratio of CW-EDF, while typically exhibiting lower scheduling overheads and memory consumption than the stateof-the-art Offline Equivalence technique, which is based on NonPreemptive Fixed Priority (NP-FP) scheduling.
منابع مشابه
Real Time Scheduling and Analysis for Can Messages with Offsets
The Controller Area Network (CAN) was designed as a simple, efficient and robust broadcast communications bus for in-vehicle networks; and it has been widely used by automotive manufacturers in recent decades. In the development of CAN system, schedulability analysis theory plays an important role in evaluating whether the system is schedulable or not. This is accomplished by calculating the WC...
متن کاملSchedulability Comparisons between Priority Queue and FIFO Queue for CAN Messages with Offsets
The Controller Area Network (CAN) is a widely used in-vehicle network and its schedulability is particularly important. In a CAN system, implementing the priority queues is better than FIFO queues with respect to the schedulability, which is widely recognized by users. In this paper, we investigate whether and how much implementing the priority queues is better than FIFO queues when the offset ...
متن کاملReducing Queue Lock Pessimism in Multiprocessor Schedulability Analysis
Although many multiprocessor resource sharing protocols have been proposed, their impacts on the schedulability of real-time tasks are largely ignored in most of the existing literature. Recently, work has been done to integrate queue locks (FIFO-queue-based non-preemptive spin locks) with multiprocessor schedulability analysis but the techniques used introduce a substantial amount of pessimism...
متن کاملImproved Schedulability Analysis for Multiprocessor Systems with Resource Sharing
Abstract—This report presents our recent efforts to close the gap between the state-of-the-art homogeneous (or identical) multiprocessor and uniprocessor schedulability analyses in the context of resource sharing. Although many multiprocessor resource sharing protocols have been proposed, their impact on the schedulability of real-time tasks is largely ignored in most existing literature. Recen...
متن کاملAdding Time-offsets to Schedulability Analysis
This paper discusses the addition of so-called time offsets to task sets dispatched according to fixed priorities. The motivation for this work is two-fold: firstly, direct expression of time offsets is a useful structuring approach for designing complex hard real-time systems. Secondly, analysis directly addressing time offsets can be very much less pessimistic than extant analysis. In this re...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2017